package com.iot08.common.entity.app.sms;


import com.alibaba.fastjson.JSON;

/**
 * @description:
 * @author: chenwenjie 
 * @date: 2023/6/29 10:27
 * @param: 
 * @return: 
 **/
public class SmsCode {

    private String code;


    public SmsCode(String code) {
        this.code = code;
    }
    public String getCode() {
        return code;
    }

    public SmsCode setCode(String code) {
        this.code = code;
        return this;
    }

    public static String buildCode(String code) {
        return JSON.toJSONString(new SmsCode(code));
    }
}
